package com.jungle.mogo.service;

import com.anwen.mongo.service.IService;
import com.jungle.mogo.entity.pojo.User;
import com.jungle.mogo.entity.vo.UserReqVO;

/**
 * @author Jungle
 * @create 2024-05-21 17:25
 */
public interface UserService extends IService<User> {
    Boolean add(UserReqVO userReqVO);

    Boolean removeAll();

    /**
     * 通过id删除
     */
    Boolean deleteById(Long id);

    /**
     * 通过名字查找用户
     */
    User getUserByName(String name);
}
